package hu.dobrosi.j2me.net;

import java.io.IOException;
import java.io.InputStream;

import javax.microedition.io.HttpConnection;

public class HttpsURLConnection extends HttpURLConnection {

	private HttpConnection httpConnection;
	
	public HttpsURLConnection() {}
	
	public HttpsURLConnection(HttpConnection httpConnection) {
		this();
		this.httpConnection = httpConnection;
	}

	public void setRequestMethod(String m) throws IOException {
		httpConnection.setRequestMethod(m);
	}

	public void setDoOutput(boolean b) throws IOException {
	}

	public void setDoInput(boolean b) throws IOException {
	}

	public void connect() throws IOException {
	}

	public InputStream getInputStream() throws IOException {
		return httpConnection.openInputStream();
	}

}
